home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / wais / waisgate / irretrvl.h < prev    next >
C/C++ Source or Header  |  1995-05-09  |  860b  |  33 lines

  1. /* WIDE AREA INFORMATION SERVER SOFTWARE:
  2.    No guarantees or restrictions.  See the readme file for the full standard
  3.    disclaimer.    */
  4.  
  5. #ifndef IRRETRVL_H
  6. #define IRRETRVL_H
  7.  
  8. #include "cdialect.h"
  9. #include "docid.h"
  10. #include "wprot.h"
  11. #include "version.h"
  12.  
  13. /* error codes for getDocumentText() */
  14. #define GDT_NoError                0
  15. #define GDT_UnsupportedChunkType        1
  16. #define GDT_BadDocID                       2
  17. #define GDT_MissingDocID            3
  18. #define GDT_BadRange                4
  19. #define GDT_MissingDatabase            5
  20. #define GDT_BadDatabase                6
  21.  
  22. WAISDocumentText* getData _AP((DocObj* doc, long* errorCode,
  23.                    char* index_directory));
  24.  
  25. WAISDocumentText* getDocumentText _AP((DocObj* doc, long* errorCode,
  26.                        char* index_directory));
  27.  
  28. boolean parseDocID _AP((DocObj* doc,char* filename,long* start_character,
  29.             long* end_character,long* errorCode));
  30.  
  31. #endif /* ndef IRRETRVL_H */
  32.  
  33.